<template>
  <el-select v-model="value" style="width: 160px">
    <el-option :label="'Java(jdk8)'" :value="'java8'"></el-option>
    <el-option :label="'C(gcc)'" :value="'gcc'"></el-option>
    <el-option :label="'C++(g++)'" :value="'g++'"></el-option>
    <el-option :label="'Python(python3)'" :value="'python3'"></el-option>
    <el-option :label="'Python(python2)'" :value="'python2'"></el-option>
  </el-select>
</template>

<script>
export default {
  name: 'select-lang',
  props: ['modelValue'],
  computed: {
    value: {
      get () {
        return this.modelValue
      },
      set (value) {
        this.$emit('update:modelValue', value)
      }
    }
  }
}
</script>

<style scoped>

</style>
